package com.wbp.cms.client.common.service;

import java.io.Serializable;
import java.util.List;

import com.wbp.cms.client.common.domain.OrganizationDO;
import com.wbp.cms.client.common.query.OrganizationQuery;
import com.wbp.cms.client.result.Result;


/**
 * @Description:
 * @Department:
 * @author andy.lhc
 * @date 2016年3月9日 下午2:37:07
 */
public interface OrganizationService extends Serializable {

  public Result<Long> addOrganization(OrganizationDO organizationDO);

  public Result<Boolean> modifyOrganization(OrganizationDO organizationDO);

  public Result<OrganizationDO> queryOrganizationById(Long organizationId);

  public  List<OrganizationDO>  queryOrganization(OrganizationQuery organizationQuery);
  
  public  int  queryOrganizationCount(OrganizationQuery organizationQuery) ;

  public List<OrganizationDO> queryChildOrganizations(Long orgId);

}
